﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TheVerge.Base;

namespace TheVerge.ConsoleTester {
	class Program {
		static void Main(string[] args) {

			//API.GetFeatured(1, result =>
			//{
			//	if (result != null)
			//		foreach (var e in result.Entries) {
			//			Console.WriteLine("Published On: " + e.PublishedOn);
			//			Console.WriteLine(e.ToString());
			//		}
			//}, error => Console.WriteLine(error));

			API.GetGalleries(1, result =>
			{
				if (result != null)
					foreach (var g in result.Entries) {
						Console.WriteLine(g.CoverPhoto);
					}
			}, er => Console.WriteLine(er));


			Console.ReadLine();
		}
	}
}
